package com.example.culturapp;

import android.app.Activity;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Toast;

public class LoginController implements OnClickListener {
	private final Activity activity;
	/*
	private final MyView myView;
	private final MyModel myModel;
	
    public LoginController(MyModel m, MyView v) {
    	myModel = m;
    	myView = v;
    }*/
    
	public LoginController(Activity activity) {
		this.activity=activity;
	}
	
	/*public void onClick(View v) {
		Integer value = myModel.update();
		myView.update(value);
	}*/
	
	public void onClick(View v) {
		//Toast.makeText(activity, "Vamos que sale!", Toast.LENGTH_LONG).show();
		Intent i = new Intent(activity, CulturAppActionBarActivity.class );
        activity.startActivity(i);
	}

}
